Part Number Hot Search : 
P4KE220 SS14MBP2 1N4586GP VISHAY AD1958 GC10DLH 2A103K ST62T60B
Product Description
Full Text Search
 

To Download WM8213SCDSRV Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w wm8213 24msps 16-bit ccd digitiser wolfson microelectronics plc to receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/ production data, july 2008, rev 4.1 copyright ? 2008 wolfson microelectronics plc. description the wm8213 is a 16-bit analogue front end/digitiser ic which processes and digitises the analogue output signals from ccd sensors or contact image sensors (cis) at pixel sample rates of up to 24msps. the device includes three analogue signal processing channels each of which contains reset level clamping, correlated double sampling and programmable gain and offset adjust functions. three multiplexers allow single channel processing. the output from each of these channels is time multiplexed into a single high-speed 16-bit analogue to digital converter. the digital output data is available in 8-bit wide multiplexed format and there is also an optional single byte output mode, or 4-bit multiplexed legacy mode. an internal 4-bit dac is supplied for internal reference level generation. this may be used during cds to reference cis signals or during reset level clamping to clamp ccd signals. an external reference level may also be supplied. adc references are generated internally, ensuring optimum performance from the device. using an analogue supply voltage of 3.3v and a digital interface supply of 3.3v, the wm8213 typically only consumes 350mw. features ? 16-bit adc ? 24msps conversion rate ? low power ? 350mw typical ? 3.3v single supply operation ? single, 2 or 3 channel operation ? correlated double sampling ? programmable gain (9-bit resolution) ? programmable offset adjust (8-bit resolution) ? flexible clamp control with programmable clamp voltage ? flexible timing, can be made compatible with wm819x and wm815x parts. ? 8-bit wide multiplexed data output format ? 8-bit only output mode ? 4-bit legacy multiplexed nibble mode ? internally generated voltage references ? 28-lead ssop package, pin compatible with wm8199 ? serial control interface applications ? high speed usb2.0 compatible scanners ? multi-function peripherals ? high-performance ccd sensor interface ? digital copiers block diagram
wm8213 production data w pd rev 4.1 july 2008 2 table of contents description .......................................................................................................1 features.............................................................................................................1 applications .....................................................................................................1 block diagram .................................................................................................1 table of contents .........................................................................................2 pin configuration...........................................................................................3 ordering information ..................................................................................3 pin description ................................................................................................4 absolute maximum ratings.........................................................................5 recommended operating conditions .....................................................5 thermal performance .................................................................................5 electrical characteristics ......................................................................6 input video sampling ............................................................................................ 9 serial interface................................................................................................... 11 internal power on reset circuit ..........................................................12 device description .......................................................................................14 introduction ......................................................................................................... 14 input sampling ...................................................................................................... 14 reset level clamping (rlc)............................................................................... 15 cds/non-cds processing................................................................................... 17 offset adjust and programmable gain ...................................................... 18 adc input black level adjust.......................................................................... 19 overall signal flow summary........................................................................ 20 calculating the output code for a given input ..................................... 21 output formats ................................................................................................... 22 references ............................................................................................................ 22 power management ............................................................................................ 22 line-by-line operation ....................................................................................... 23 control interface.............................................................................................. 23 normal operating modes ................................................................................. 25 legacy mode information................................................................................. 26 legacy operating modes .................................................................................. 27 legacy mode timing diagrams ......................................................................... 28 device configuration .................................................................................30 register map ......................................................................................................... 30 register map description ................................................................................ 31 applications information .........................................................................36 recommended external components .......................................................... 36 recommended external component values ............................................. 36 package dimensions ....................................................................................37 important notice ..........................................................................................38 address: .................................................................................................................. 38
production data wm8213 w pd rev 4.1 july 2008 3 pin configuration sen op[1] op[0] sck sdi dvdd2 op[7]/sdo op[2] op[3] op[4] op[5] op[6] ginp agnd1 vrb vrt vrx vrlc/vbias binp avdd dgnd agnd2 dvdd1 oeb vsmp rsmp mclk rinp 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 ordering information device temp. range package moisture sensitivity level peak soldering temperature wm8213scds/v 0 to 70 o c 28-lead ssop (pb-free) msl3 260 o c wm8213scds/rv 0 to 70 o c 28-lead ssop (pb-free, tape and reel) msl3 260 o c note: reel quantity = 2,000
wm8213 production data w pd rev 4.1 july 2008 4 pin description pin name type description 1 rinp analogue input red channel input video. 2 agnd2 supply analogue ground reference. 3 dvdd1 supply digital supply for logic and clock generator. this must be operated at the same potential as avdd. 4 oeb digital input output hi-z control, all digital outputs disabled when register bit oeb = 1 or register bit opd = 1. 5 vsmp digital input video sample timing pulse. 6 rsmp digital input reset sample timing pulse (also used for rlc control). 7 mclk digital input master (adc) clock. this determines the adc conversion rate. 8 dgnd supply digital ground reference. 9 sen digital input enables the serial interface when high. 10 dvdd2 supply digital supply, all digital i/o pins. 11 sdi digital input serial data input. 12 sck digital input serial clock. digital multiplexed output data bus. adc output data (d15:d0) is available in multiplexed format as shown. see ?output formats? description in device description section for details of other output modes. a b 13 op[0] digital output d8 d0 14 op[1] digital output d9 d1 15 op[2] digital output d10 d2 16 op[3] digital output d11 d3 17 op[4] digital output d12 d4 18 op[5] digital output d13 d5 19 op[6] digital output d14 d6 d15 d7 20 op[7]/sdo digital output alternatively, pin op[7]/sdo may be used to output register read-back data when register bit oeb = 0, opd = 0 and sen has been pulsed high. see serial interface description in device description section for further details. 21 avdd supply analogue supply. this must be operated at the same potential as dvdd1. 22 agnd1 supply analogue ground reference. 23 vrb analogue output lower reference voltage. this pin must be connected to agnd via a decoupling capacitor. 24 vrt analogue output upper reference voltage. this pin must be connected to agnd via a decoupling capacitor. 25 vrx analogue output input return bias voltage. this pin must be connected to agnd via a decoupling capacitor. 26 vrlc/vbias analogue i/o selectable analogue output voltage for rlc or single-ended bias reference. this pin would typically be connected to agnd via a decoupling capacitor. vrlc can be externally driven if programmed hi-z. 27 binp analogue input blue channel input video. 28 ginp analogue input green channel input video.
production data wm8213 w pd rev 4.1 july 2008 5 absolute maximum ratings absolute maximum ratings are stress ratings only. permanent damage to the device may be caused by continuously operating at or beyond these limits. device functional operating limits and guaranteed performance specifications are given under electrical characteristics at the test conditions specified. esd sensitive device. this device is manufactured on a cmos process. it is therefore generically susceptible to damage from excessive static voltages. proper esd precautions must be taken during handling and storage of this device. wolfson tests its package types according to ipc/jedec j-std-020b for moisture sensitivity to determine acceptable storage conditions prior to surface mount assembly. these levels are: msl1 = unlimited floor life at <30 c / 85% relative humidity. not normally stored in moisture barrier bag. msl2 = out of bag storage for 1 year at <30 c / 60% relative humidity. supplied in moisture barrier bag. msl3 = out of bag storage for 168 hours at <30 c / 60% relative humidity. supplied in moisture barrier bag. the moisture sensitivity level for each package type is specified in ordering information. condition min max analogue supply voltage: avdd gnd - 0.3v gnd + 5v digital supply voltages: dvdd1 ? 2 gnd - 0.3v gnd + 5v digital ground: dgnd gnd - 0.3v gnd + 0.3v analogue grounds: agnd1 ? 2 gnd - 0.3v gnd + 0.3v digital inputs, digital outputs and digital i/o pins gnd - 0.3v dvdd2 + 0.3v analogue inputs (rinp, ginp, binp) gnd - 0.3v avdd + 0.3v other pins gnd - 0.3v avdd + 0.3v operating temperature range: t a 0 c +70 c storage temperature after soldering -65 c +150 c notes: 1. gnd denotes the voltage of any ground pin. 2. agnd1, agnd2 and dgnd pins are intended to be operated at the same potential. differential voltages between these pins will degrade performance. recommended operating conditions condition symbol min typ max units operating temperature range t a 0 70 c analogue supply voltage avdd 2.97 3.3 3.63 v digital core supply voltage dvdd1 2.97 3.3 3.63 v digital i/o supply voltage dvdd2 2.97 3.3 3.63 v notes: 1. dvdd2 should be operated at the same potential as dvdd1 0.3v. thermal performance parameter symbol test conditions min typ max unit performance thermal resistance ? junction to case r jc 23.9 c/w thermal resistance ? junction to ambient r ja t ambient = 25c 67.1 c/w notes: 1. figures given are for package mounted on 4-layer fr4 according to jesd51-5 and jesd51-7.
wm8213 production data w pd rev 4.1 july 2008 6 electrical characteristics test conditions avdd = dvdd1 = dvdd2 = 3.3v, agnd = dgnd = 0v, t a = 25 c, mclk = 24mhz unless otherwise stated. parameter symbol test conditions min typ max unit overall system specification (including 16-bit adc, pga, offset and cds functions) conversion rate 24 msps lowrefs=0, max gain lowrefs=0, min gain 0.25 3.03 vp-p vp-p full-scale input voltage range (see note 1) lowrefs=1, max gain lowrefs=1, min gain 0.15 1.82 vp-p vp-p input signal limits (see note 2) v in agnd-0.3 avdd+0.3 v input capacitance (r inp , g inp , b inp ) 10 pf input impedance (r inp , g inp , b inp ) 50 ? full-scale transition error gain = 0db; pga[8:0] = 18(hex) 20 mv zero-scale transition error gain = 0db; pga[8:0] = 18(hex) 20 mv differential non-linearity dnl 1 lsb integral non-linearity inl 25 lsb channel to channel gain matching 1 % total output noise min gain max gain 12.4 105 lsb rms lsb rms references upper reference voltage vrt lowrefs=0 lowrefs=1 1.95 2.05 1.85 2.25 v lower reference voltage vrb lowrefs=0 lowrefs=1 0.95 1.05 1.25 1.25 v input return bias voltage vrx 1.25 v diff. reference voltage (vrt-vrb) v rtb lowrefs=0 lowrefs=1 0.90 1.0 0.6 1.10 v output resistance vrt, vrb, vrx 1 ? notes: 1. full-scale input voltage denotes the peak input signal amplitude that can be gained to match the adc full-scale input range. 2. input signal limits are the limits within which the full-scale input voltage signal must lie.
production data wm8213 w pd rev 4.1 july 2008 7 test conditions avdd = dvdd1 = dvdd2 = 3.3v, agnd = dgnd = 0v, t a = 25 c, mclk = 24mhz unless otherwise stated. parameter symbol test conditions min typ max unit reset-level clamp (rlc) circuit/ reference level dac rlc switching impedance 50 ? vrlc short-circuit current 2 ma vrlc output resistance 2 ? vrlc hi-z leakage current vrlc = 0 to avdd 1 a reference rlcdac resolution 4 bits reference rlcdac step size v rlcstep avdd=3.3v rlcdacrng=0 0.173 v/step reference rlcdac step size v rlcstep rlcdacrng=1 0.11 v/step reference rlcdac output voltage at code 0(hex) v rlcbot avdd=3.3v, rlcdacrng=0 0.4 v reference rlcdac output voltage at code 0(hex) v rlcbot rlcdacrng=1 0.4 v reference rlcldac output voltage at code f(hex) v rlctop avdd=3.3v, rlcdacrng=0 3.0 v reference rlcdac output voltage at code f(hex) v rlctop rlcdacrng = 1 2.05 v rlcdac dnl -0.5 +0.5 lsb rlcdac inl +/-1 lsb offset dac, monotonicity guaranteed resolution 8 bits differential non-linearity dnl 0.1 0.5 lsb integral non-linearity inl 0.25 1 lsb step size 2.04 mv/step output voltage code 00(hex) code ff(hex) -260 +260 mv mv programmable gain amplifier resolution 9 bits gain equation ] : [ pga * . . 0 8 511 34 7 66 0 + v/v max gain, each channel g max 8 v/v min gain, each channel g min 0.66 v/v channel matching 1 5 % analogue to digital converter resolution 16 bits speed 24 msps lowrefs=0 2 v full-scale input range (2*(vrt-vrb)) lowrefs=1 1.2 v
wm8213 production data w pd rev 4.1 july 2008 8 digital specifications digital inputs high level input voltage v ih 0.7 ? dvdd2 v low level input voltage v il 0.2 ? dvdd2 v high level input current i ih 1 a low level input current i il 1 a input capacitance c i 5 pf digital outputs high level output voltage v oh i oh = 1ma dvdd2 - 0.5 v low level output voltage v ol i ol = 1ma 0.5 v high impedance output current i oz 1 a digital io pins applied high level input voltage v ih 0.7 ? dvdd2 v applied low level input voltage v il 0.2 ? dvdd2 v high level output voltage v oh i oh = 1ma dvdd2 - 0.5 v low level output voltage v ol i ol = 1ma 0.5 v low level input current i il 1 a high level input current i ih 1 a input capacitance c i 5 pf high impedance output current i oz 1 a supply currents total supply current ? active (analogue and digital) (three channel mode) 106 ma analogue supply current -active (three channel mode) 93 ma digital supply current - active (three channel mode) 13 ma supply current ? full power down mode 20 a
production data wm8213 w pd rev 4.1 july 2008 9 input video sampling figure 1 three-channel cds input video timing figure 2 two-channel cds input video timing
wm8213 production data w pd rev 4.1 july 2008 10 figure 3 single-channel cds input video timing notes: 1. the relationship between input video and sampling is controlled by vsmp and rsmp. 2. when vsmp is high the input video signal is connected to the video sampling capacitors. 3. when rsmp is high the input video signal is connected to the reset sampling capacitors. 4. rsmp must not go high before the first falling edge of mclk after vsmp goes low. 5. it is required that the falling edge of vsmp should occur before the rising edge of mclk. 6. in 1-channel cds mode it is not possible to have a equally spaced video and reset sample points with a 24mhz mclk 7. non-cds operation is also possible; rsmp is not required in this mode. test conditions avdd = dvdd1 = dvdd2 = 3.3v, agnd = dgnd = 0v, t a = 25 c, mclk = 24mhz unless otherwise stated. parameter symbol test conditions min typ max units mclk period t per 41.6 ns mclk high period t mclkh 18.8 20.8 ns mclk low period t mclkl 18.8 20.8 ns rsmp pulse high time t rsd 5 ns vsmp pulse high time t vsd 5 ns rsmp falling to vsmp rising time t rsfvsr 0 ns mclk rising to vsmp rising time t mrvsr 3 ns mclk falling to vsmp falling time 2 t mfvsf 5 ns vsmp falling to mclk rising time t vsfmr 1 ns 1 st mclk falling edge after vsmp falling to rsmp rising time t mf1rs 1 ns 3-channel mode pixel rate t pr3 125 ns 2-channel mode pixel rate t pr2 83.3 ns 1-channel mode pixel rate t pr1 41.6 ns output propagation delay t pd 5 10 ns output latency. from 1 st rising edge of mclk after vsmp falling to data output lat 7 mclk periods notes: 1. parameters are measured at 50% of the rising/falling edge. 2. in single-channel mode, if t mfvsf is less than 9.5ns, the output amplitude of the wm8213 will decrease.
production data wm8213 w pd rev 4.1 july 2008 11 serial interface figure 4 serial interface timing test conditions avdd = dvdd1 = dvdd2 = 3.3v, agnd = dgnd = 0v, t a = 25 c, mclk = 24mhz unless otherwise stated. parameter symbol test conditions min typ max units sck period t sper 83.3 ns sck high t sckh 37.5 ns sck low t sckl 37.5 ns sdi set-up time t ssu 6 ns sdi hold time t sh 6 ns sck to sen set-up time t sce 12 ns sen to sck set-up time t sec 12 ns sen pulse width t sew 60 ns sen low to sdo = register data t serd 30 ns sck low to sdo = register data t scrd 30 ns sck low to sdo = adc data t scrdz 30 ns note: 1. parameters are measured at 50% of the rising/falling edge
wm8213 production data w pd rev 4.1 july 2008 12 internal power on reset circuit figure 5 internal power on reset circuit schematic the wm8213 includes an internal power-on-reset circuit, as shown in figure 5, which is used reset the digital logic into a default state after power up. the por circuit is powered from avdd and monitors dvdd1. it asserts porb low if avdd or dvdd1 is below a minimum threshold. the power supplies can be brought up in any order but is important that either avdd is brought up and is stable before dvdd comes up or vice versa as shown in figure 6 and figure 7. figure 6 typical power up sequence where avdd is powered before dvdd1 figure 6 shows a typical power-up sequence where avdd is powered up first. when avdd rises above the minimum threshold, vpora, there is enough voltage for the circuit to guarantee porb is asserted low and the chip is held in reset. in this condition, all writes to the control interface are ignored. now avdd is at full supply level. next dvdd1 rises to vpord_on and porb is released high and all registers are in their default state and writes to the control interface may take place. on power down, where avdd falls first, porb is asserted low whenever avdd drops below the minimum threshold vpora_off.
production data wm8213 w pd rev 4.1 july 2008 13 figure 7 typical power up sequence where dvdd1 is powered before avdd figure 7 shows a typical power-up sequence where dvdd1 is powered up first. it is assumed that dvdd1 is already up to specified operating voltage. when avdd goes above the minimum threshold, vpora, there is enough voltage for the circuit to guarantee porb is asserted low and the chip is held in reset. in this condition, all writes to the control interface are ignored. when avdd rises to vpora_on, porb is released high and all registers are in their default state and writes to the control interface may take place. on power down, where dvdd1 falls first, porb is asserted low whenever dvdd1 drops below the minimum threshold vpord_off. symbol typ unit v pora 0.6 v v pora_on 1.2 v v pora_off 0.6 v v pord_on 0.7 v v pord_off 0.6 v table 1 typical por operation (typical values, not tested) note : it is recommended that every time power is cycled to the wm8213 a software reset is written to the software register to ensure that the contents of the control registers are at their default values before carrying out any other register writes.
wm8213 production data w pd rev 4.1 july 2008 14 device description introduction a block diagram of the device showing the signal path is presented on the front page of this datasheet. the wm8213 samples up to three inputs (rinp, ginp and binp) simultaneously. the device then processes the sampled video signal with respect to the video reset level or an internally/externally generated reference level using between one and three processing channels. each processing channel consists of an input sampling block with optional reset level clamping (rlc) and correlated double sampling (cds), an 8-bit programmable offset dac and a 9-bit programmable gain amplifier (pga). the adc then converts each resulting analogue signal to a 16-bit digital word. the digital output from the adc is presented on an 8-bit wide bus. on-chip control registers determine the configuration of the device, including the offsets and gains applied to each channel. these registers are programmable via a serial interface. the wm8213 has been designed to have a high degree of compatibility with previous generations of wolfson afes. by setting the legacy register bit the device adopts the same timing as the wm819x and wm815x families of afes. the control interface is also compatible. input sampling the wm8213 can sample and process one to three inputs through one to three processing channels as follows: colour pixel-by-pixel: the three inputs (rinp, ginp and binp) are simultaneously sampled for each pixel and a separate channel processes each input. the signals are then multiplexed into the adc, which converts all three inputs within the pixel period. two channel pixel-by-pixel: two input channels (rinp and ginp) are simultaneously sampled for each pixel and a separate channel processes each input. the signals are then multiplexed into the adc, which converts both inputs within the pixel period. the unused blue channel is powered down when this mode is selected. monochrome: a single chosen input (rinp, ginp, or binp) is sampled, processed by the corresponding channel, and converted by the adc. the choice of input and channel can be changed via the control interface, e.g. on a line-by-line basis if required. the unused channels are powered down when this mode is selected. colour line-by-line: a single input (rinp) is sampled and multiplexed into the red channel for processing before being converted by the adc. the registers which are applied to the pga and offset dac can be switched in turn (rinp ginp binp rinp?) by applying pulses to the rsmp pin. this is known as auto-cycling. alternatively, other sequences can be generated via the control registers. this mode causes the unused blue and green channels to be powered down. refer to the line-by-line operation section for more details.
production data wm8213 w pd rev 4.1 july 2008 15 reset level clamping (rlc) to ensure that the signal applied to the wm8213 lies within the supply voltage range (0v to avdd) the output signal from a ccd is usually level shifted by coupling through a capacitor, c in. the rlc circuit clamps the wm8213 side of this capacitor to a suitable voltage through a cmos switch during the ccd reset period. in order for clamping to produce sensible results the input voltage during the clamping must be a consistent value. the wm8213 allows the user to control the rlc switch in a variety of ways as illustrated in figure 8. this figure shows a single channel, however all 3 channels are identical, each with its own clamp switch controlled by the common clmp signal. the method of control chosen depends upon the characteristics of the input video. the rlcen register bit must be set to 1 to enable clamping, otherwise the rlc switch cannot be closed (by default rlcen=1). figure 8 rlc clamp control options when an input waveform has a stable reference level on every pixel it may be desirable to clamp every pixel during this period. setting clampctrl=0 means that the rlc switch is closed whenever the rsmp input pin is high, as shown in figure 9. mclk vsmp rsmp rlc switch control "clmp" (rlcen=1,clmpctrl=0) rlc switch closed when rsmp=1 video sample taken on fallling edge of vsmp reset/reference sample taken on fallling edge of rsmp input video signal reference ("black") level video level figure 9 reset level clamp operation (clampctrl=0), cds operation shown, non-cds also possible
wm8213 production data w pd rev 4.1 july 2008 16 in situations where the input video signal does not have a stable reference level it may be necessary to clamp only during those pixels which have a known state (e.g. the dummy, or ?black? pixels at the start or end of a line of most image sensors). this is known as line-clamping and relies on the input capacitor to hold the dc level between clamp intervals. in non-cds mode (cds=0) this can be done directly by controlling the rsmp input pin to go high during the black pixels only. alternatively it is possible to use rsmp to identify the black pixels and enable the clamp at the same time as the input is being sampled (i.e. when vsmp is high and rsmp is high). this mode is enabled by setting clampctrl=1 and the operation is shown in figure 10. mclk vsmp rsmp rlc switch control, "clmp" (rlcen=1,clmpctrl=1) rlc switch closed when rsmp=1 && vsmp=1 (during "black" pixels) video and reference sample taken on fallling edge of vsmp input video signal unstable reference level dummy or "black" pixel video level figure 10 reset level clamp operation (clampctrl=1), non-cds mode only when in legacy mode all timing, including the rlc switch timing, is derived from mclk and vsmp. mclk operates at double the adc conversion rate and vsmp determines the sample rate of the device. reset level clamping in legacy mode is only possible in cds mode and the time at which the clamp switch is closed is concurrent with the reset sample period, rs, as shown in figure 11. rlc can be enabled on a pixel by pixel basis under control of the rsmp input pin. if rsmp is high when vsmp is high and is sampled by mclk then clamping will be enabled for that input sample at the time determined by cdsref[1:0]. if rsmp is low at this point then the rlc switch will not be closed for that input sample. if rlc is required on every pixel then the rsmp pin can be constantly held high in legacy mode. figure 11 legacy mode rlc and sampling (legacy=1)
production data wm8213 w pd rev 4.1 july 2008 17 table 2 summarises the various options for control of the reset level clamp switch. rlcen legacy clampctrl linebyline &&acyc outcome use 0 x x x rlc is not enabled. rlc switch is always open. when input is dc coupled and within supply rails. 1 0 0 x rlc switch is controlled directly from rsmp input pin: rsmp=0: switch is open rmsp=1: switch is closed when user explicitly provides a reset sample signal and the input video waveform has a suitable reset level. 1 0 1 x vsmp applied as normal, rsmp is used to indicate the location of black pixels rlc switch is controlled by logical combination of rsmp and vsmp: rsmp && vsmp = 0: switch is open rsmp && vsmp = 1: switch is closed when you wish to clamp during the video period of black pixels or there is no stable per-pixel reference level. 1 1 x x legacy mode rlc works in the same fashion as the wm819x series, where the rsmp pin is equivalent to the rlc/acyc pin on those devices. the reset sample clock which is generated by the legacy internal timing generator is gated with the rsmp pin to produce the rlc control signal cl (see figure 11) : cl=0: clamp switch open cl=1: clamp switch closed when using the legacy timing mode. 0 x 1 1 1 in this mode the rsmp pin is used to control auto- cycling so can?t be used for clamp control. register bit clampctrl controls whether rlc is enabled or not. clampctrl=0, rlc is disabled clampctrl=1, rlc is enabled and every pixel will be clamped during the control signal cl (see figure 11). when auto-cycling in legacy mode. table 2 reset level clamp control summary cds/non-cds processing for ccd type input signals, containing a fixed reference/reset level, the signal may be processed using correlated double sampling (cds), which will remove pixel-by-pixel common mode noise. with cds processing the input waveform is sampled at two different points in time for each pixel, once during the reference/reset level and once during the video level. to sample using cds, register bit cds must be set to 1 (default). this causes the signal reference to come from the video reference level as shown in figure 12. the video sample is always taken on the falling edge of the input vsmp signal (vs). in cds-mode the reset level is sampled on the falling edge of the rsmp input signal (rs). for input signals that do not contain a reference/reset level (e.g. cis sensor signals), non-cds processing is used (cds=0). in this case, the video level is processed with respect to the voltage on pin vrlc/vbias. the vrlc/vbias voltage is sampled at the same time as vsmp samples the video level in this mode. in legacy mode the input video signal is always sampled on the 1 st rising edge of mclk after vsmp has gone low (vs) regardless of the operating mode. if in non-cds mode (cds=0) the voltage on the vrlc/vbias pin is also sampled at this point. in cds-mode (cds=1) the position of the reset sample (rs) can be varied, under control of the cdsref[1:0] register bits, as shown in figure 11.
wm8213 production data w pd rev 4.1 july 2008 18 control interface c in rinp or ginp or binp vrlc/ vbias vrlcdacpd 4-bit rlcdac rlcdac[3:0] closed= 50 ohm rlc switch clmp vs rs (if cds=1) or vs (if cds=0) cds cds=1 cds=0 'video' sample capacitor 'reference' sample capacitor figure 12 cds/non-cds input configuration offset adjust and programmable gain the output from the cds block is a differential signal, which is added to the output of an 8-bit offset dac to compensate for offsets and then amplified by a 9-bit pga. the gain and offset for each channel are independently programmable by writing to control bits dac[7:0] and pga[7:0]. the gain characteristic of the wm8213 pga is shown in figure 13. figure 14 shows the maximum device input voltage that can be gained up to match the adc full-scale input range (default=2v). in colour line-by-line mode the gain and offset coefficients for each colour can be multiplexed in order (red green blue red?) by pulsing the rsmp pin, or controlled via the acyc and intm[1:0] bits. refer to the line-by-line operation section for more details.
production data wm8213 w pd rev 4.1 july 2008 19 0 1 2 3 4 5 6 7 8 0 128 256 384 512 gain code (pga[8:0]) pga gain (v/v) 0 0.5 1 1.5 2 2.5 3 3.5 0 128 256 384 512 gain code (pga[8:0]) input voltage range (v) max i/p voltage lowrefs=0 max i/p voltage lowrefs=1 figure 13 pga gain characteristic figure 14 peak input voltage to match adc full-scale range adc input black level adjust the output from the pga can be offset to match the full-scale range of the differential adc (2*[vrt- vrb]). for negative-going input video signals, a black level (zero differential) output from the pga should be offset to the top of the adc range by setting register bits pgafs[1:0]=10. this will give an output code of ffff ( hex) from the wm8213 for zero input. if code zero is required for zero differential input then the invop bit should be set. for positive going input signals the black level should be offset to the bottom of the adc range by setting pgafs[1:0]=11. this will give an output code of 0000 (hex) from the wm8213 for zero input. bipolar input video is accommodated by setting pgafs[1:0]=00 or pgafs[1:0]=01. zero differential input voltage gives mid-range adc output, 7fff (hex).
wm8213 production data w pd rev 4.1 july 2008 20 figure 15 adc input black level adjust settings overall signal flow summary figure 16 represents the processing of the video signal through the wm8213. v reset v vrlc v 3 cds = 1 cds = 0 cdacpd=1 260mv*(dac[7:0]-127.5)/127.5 analog - x + + see parametrics for dac voltages. op[7:0] d 1 digital adc block pga block offset dac block input sampling block d 2 cds, cdacpd,cdac[3:0], dac[7:0], pga[8:0], pgafs[1:0] and invop are set by programming internal control registers. cds=1 for cds, 0 for non-cds v in is rinp or ginp or binp v reset is v in sampled during reset clamp v rlc is voltage applied to vrlc/vbias pin v in x (65535/v fs ) +0 if pgafs[1:0]=11 +65535 if pgafs[1:0]=10 +32768 if pgafs[1:0]=0x pga gain a= 0.66+pga[8:0]x7.34/511 output invert block d2 = d1 if invop = 0 d2 = 65535-d1 if invop = 1 offset dac rlc dac + v 2 v 1 cdacpd=0 figure 16 overall signal flow the input sampling block produces an effective input voltage v 1 . for cds, this is the difference between the input video level v in and the input reset level v reset . for non-cds this is the difference between the input video level v in and the voltage on the vrlc/vbias pin, v vrlc , optionally set via the rlc dac. the offset dac block then adds the amount of fine offset adjustment required to move the black level of the input signal towards 0v, producing v 2 . the pga block then amplifies the white level of the input signal to maximise the adc range, outputting voltage v 3 . the adc block then converts the analogue signal, v 3 , to a 16-bit unsigned digital output, d 1 . the digital output is then inverted, if required, through the output invert block to produce d 2.
production data wm8213 w pd rev 4.1 july 2008 21 calculating the output code for a given input the following equations describe the processing of the video and reset level signals through the wm8213. the values of v 1 , v 2 and v 3 are often calculated in reverse order during device setup. the pga value is written first to set the input voltage range, the offset dac is then adjusted to compensate for any black/reset level offsets and finally the rlc dac value is set to position the reset level correctly during operation. note: refer to applications note wan0123 for detailed information on device calibration procedures. input sampling block: input sampling and referencing if cds = 1, (i.e. cds operation) the previously sampled reset level, v reset , is subtracted from the input video. v 1 = v in - v reset eqn. 1 if cds = 0, (non-cds operation) the simultaneously sampled voltage on pin vrlc is subtracted instead. v 1 = v in - v vrlc eqn. 2 if vrlcdacpd = 1, v vrlc is an externally applied voltage on pin vrlc/vbias. if vrlcdacpd = 0, v vrlc is the output from the internal rlc dac. v vrlc = (v rlcstep ? rlc dac[3:0]) + v rlcbot eqn. 3 v rlcstep is the step size of the rlc dac and v rlcbot is the minimum output of the rlc dac. offset dac block: offset (black-level) adjust the resultant signal v 1 is added to the offset dac output. v 2 = v 1 + {260mv ? (dac[7:0]-127.5) } / 127.5 eqn. 4 pga node: gain adjust the signal is then multiplied by the pga gain. v 3 = v 2 ? (0.66 + pga[8:0]x7.34/511) eqn. 5 adc block: analogue-digital conversion the analogue signal is then converted to a 16-bit unsigned number, with input range configured by pgafs[1:0]. d 1 [15:0] = int{ ( v 3 /v fs ) ? 65535} + 32767 pgafs[1:0] = 00 or 01 eqn. 6 d 1 [15:0] = int{ ( v 3 /v fs ) ? 65535} pgafs[1:0] = 11 eqn. 7 d 1 [15:0] = int{ ( v 3 /v fs ) ? 65535} + 65535 pgafs[1:0] = 10 eqn. 8 where the adc full-scale range, v fs = 2v when lowrefs=0 and v fs = 1.2v when lowrefs=1. output invert block: polarity adjust the polarity of the digital output may be inverted by control bit invop. d 2 [15:0] = d 1 [15:0] (invop = 0) eqn. 9 d 2 [15:0] = 65535 ? d 1 [15:0] (invop = 1) eqn. 10
wm8213 production data w pd rev 4.1 july 2008 22 output formats the output from the wm8213 can be presented in several different formats under control of the opform[1:0] register bits as shown in figure 17. mclk op[7:4] t pd abcdabcd op[7:0] abababab op[7:0] aaa a 8-bit multiplexed 8-bit parallel 4-bit multiplexed (legacy=1) op[7:0] 8-bit multiplexed (legacy=1) t pd aba b op[7:0] 8-bit parallel (legacy=1) aa figure 17 output data formats output format opform[1:0] legacy output pins output 8+8-bit multiplexed 00, 10 x op[7:0] a = d15, d14, d13, d12, d11, d10, d9, d8 b = d7, d6, d5, d4, d3, d2, d1,d0 8-bit parallel 01 x op[7:0] a = d15, d14, d13, d12, d11, d10, d9, d8 4+4+4+4-bit (nibble) 11 1 op[7:4] a = d15, d14, d13, d12 b = d11, d10, d9, d8 c = d7, d6, d5, d4 d = d3, d2, d1, d0 table 3 details of output data formats (as shown in figure 17). references the adc reference voltages are derived from an internal bandgap reference, and buffered to pins vrt and vrb, where they must be decoupled to ground. pin vrx is driven by a similar buffer, and also requires decoupling. the output buffer from the rlcdac also requires decoupling at pin vrlc/vbias. power management power management for the device is performed via the control interface. by default the device is fully enabled. the en bit allows the device to be fully powered down when set low. individual blocks can be powered down using the bits in setup register 5. when in mono or twochan mode the unused input channels are automatically disabled to reduce power consumption.
production data wm8213 w pd rev 4.1 july 2008 23 line-by-line operation certain linear sensors give colour output on a line-by-line basis. i.e. a full line of red pixels followed by a line of green pixels followed by a line of blue pixels. often the sensor will have only a single output onto which these outputs are time multiplexed. the wm8213 can accommodate this type of input by setting the linebyline register bit high. when in this mode the green and blue input pgas are disabled to save power. the analogue input signal should be connected to the rinp pin. the offset and gain values that are applied to the red input channel can be selected, by internal multiplexers, to come from the red, green or blue offset and gain registers. this allows the gain and offset values for each of the input colours to be setup individually at the start of a scan. when register bit acyc=0 the gain and offset multiplexers are controlled via the intm[1:0] register bits. when intm=00 the red offset and gain control registers are used to control the red input channel, intm=01 selects the green offset and gain registers and intm=10 selects the blue offset and gain registers to control the red input channel. when register bit acyc=1, ?auto-cycling? is enabled, and the input channel switches to the next offset and gain registers in the sequence when a pulse is applied to the rsmp input pin. the sequence is red green blue red? offset and gain registers applied to the single input channel. a write to the auto-cycle reset register (address 05h) will reset the sequence to a known state (red registers selected). when auto-cycling is enabled, the rsmp pin cannot be used to control reset level clamping. the clmpctrl bit may be used instead (enabled when high, disabled when low). nb, when auto-cycling is enabled, the rsmp pin cannot be used for reset sampling (i.e. cds must be set to 0). control interface the internal control registers are programmable via the serial digital control interface. the register contents can be read back via the serial interface on pin op[7]/sdo. note: it is recommended that a software reset is carried out after the power-up sequence, before writing to any other register. this ensures that all registers are set to their default values (as shown in table 7). serial interface: register write figure 18 shows register writing in serial mode. three pins, sck, sdi and sen are used. a six-bit address (a5, 0, a3, a2, a1, a0) is clocked in through sdi, msb first, followed by an eight-bit data word (b7, b6, b5, b4, b3, b2, b1, b0), also msb first. each bit is latched on the rising edge of sck. when the data has been shifted into the device, a pulse is applied to sen to transfer the data to the appropriate internal register. note all valid registers have address bit a4 equal to 0 in write mode. sck sen sdi a5 0 a3a2a1a0b7b6b5b4b3b2b1b0 address data word figure 18 serial interface register write a software reset is carried out by writing to address ?000100? with any value of data, (i.e. data word = xxxxxxxx).
wm8213 production data w pd rev 4.1 july 2008 24 serial interface: register read-back figure 19 shows register read-back in serial mode. read-back is initiated by writing to the serial bus as described above but with address bit a4 set to 1, followed by an 8-bit dummy data word. writing address (a5, 1, a3, a2, a1, a0) will cause the contents (d7, d6, d5, d4, d3, d2, d1, d0) of corresponding register (a5, 0, a3, a2, a1, a0) to be output msb first on pin sdo (on the falling edge of sck). note that pin sdo is shared with an output pin, op[7], therefore oeb should always be held low and the opd register bit should be set low when register read-back data is expected on this pin. the next word may be read in to sdi while the previous word is still being output on sdo. sck sen sdi a51a3a2a1a0xxxxxxxx address data word d7 d6 d5 d4 d3 d2 d1 d0 output data word sdo/ op[7] oeb figure 19 serial interface register read-back
production data wm8213 w pd rev 4.1 july 2008 25 normal operating modes table 4 below shows the normal operating modes of the device. the mclk speed can be specified along with the mclk:vsmp ratio to achieve the desired sample rate. number of channels description cds available maximum sample rate timing requirements channel mode settings 3 three channel pixel-by-pixel yes 8 msps mclk max = 24mhz minimum mclk:vsmp ratio = 3:1 mono = 0 twochan = 0 2 two channel pixel-by-pixel yes 12 msps mclk max = 24mhz minimum mclk:vsmp ratio = 2:1 mono = 0 twochan = 1 1 one channel pixel-by-pixel yes 24 msps mclk max = 24mhz minimum mclk:vsmp ratio = 1:1 mono = 1 twochan = 0 table 4 wm8213 normal operating modes table 5 below shows the different channel mode register settings required to operate the 8213 in 1, 2 and 3 channel modes. mono twochan chan[1:0] mode description 0 0 xx 3-channel (colour mode) 0 1 xx 2-channel (blue pga disabled) 1 0 00 1-channel (monochrome) mode. red channel selected, green and blue pgas disabled. 1 0 01 1-channel (monochrome) mode. green channel selected, red and blue pgas disabled. 1 0 10 1-channel (monochrome) mode. blue channel selected, red and green pgas disabled. 1 0 11 invalid mode 1 1 xx invalid mode table 5 sampling mode summary note : unused input pins should be connected to agnd.
wm8213 production data w pd rev 4.1 july 2008 26 legacy mode information the wm8213 has been designed to have a high degree of compatibility with previous generations of wolfson afes. by setting the legacy register bit the input timing is made compatible with the wm819x and wm815x series of devices. additional features such as the vsmp detect mode are also retained in legacy mode. legacy: programmable vsmp detect circuit the vsmp input is used to determine the sampling point and frequency of the wm8213. under normal operation a pulse of 1 mclk period should be applied to vsmp at the desired sampling frequency (as shown in the legacy mode timing diagrams) and the input sample will be taken on the first rising mclk edge after vsmp has gone low. however, in certain applications such a signal may not be readily available. the programmable vsmp detect circuit in the wm8213 allows the sampling point to be derived from any signal of the correct frequency, such as a ccd shift register clock, when applied to the vsmp pin. when enabled, by setting the vsmpdet control bit, the circuit detects either a rising or falling edge (determined by posnneg control bit) on the vsmp input pin and generates an internal vsmp pulse, intvsmp. when posnneg = 1, a positive edge transition is detected and when posnneg = 0, a falling edge transition is detected. intvsmp can optionally be delayed by a number of mclk periods, specified by the vdel[2:0] bits. figure 20 shows the internal vsmp pulses that can be generated by this circuit for a typical clock input signal. the internal vsmp pulse is then applied to the timing control block in place of the normal vsmp pulse provided from the input pin. the sampling point occurs on the first rising mclk edge after this internal vsmp pulse, as shown in the legacy mode timing diagrams. mclk vsmp (vdel = 000) intvsmp posnneg = 1 (vdel = 001) intvsmp (vdel = 010) intvsmp (vdel = 011) intvsmp (vdel = 100) intvsmp (vdel = 101) intvsmp (vdel = 110) intvsmp (vdel = 111) intvsmp posnneg = 0 (vdel = 000) intvsmp (vdel = 001) intvsmp (vdel = 010) intvsmp (vdel = 011) intvsmp (vdel = 100) intvsmp (vdel = 101) intvsmp (vdel = 110) intvsmp (vdel = 111) intvsmp input pins v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s v s figure 20 internal vsmp pulses generated by programmable vsmp detect circuit
production data wm8213 w pd rev 4.1 july 2008 27 legacy operating modes table 6 summarises the most commonly used modes, the clock waveforms required and the register contents required for cds and non-cds operation. mode description cds available max sample rate sensor interface description timing require- ments register contents with cds register contents without cds 1 colour pixel-by-pixel yes 4msps the 3 input channels are sampled in parallel. the signal is then gain and offset adjusted before being multiplexed into a single data stream and converted by the adc, giving an output data rate of 12msps max. mclk max = 24mhz mclk: vsmp ratio is 2n:1 , n 3 setreg1: 83(hex) setreg1: 81(hex) 2 monochrome/ colour line-by-line yes 4msps as mode 1 except: only one input channel at a time is continuously sampled. mclk max = 24mhz mclk: vsmp ratio is 2n:1 , n 3 setreg1: 87(hex) setreg1: 85(hex) 3 fast monochrome/ colour line-by-line yes 8msps identical to mode 2 mclk max = 24mhz mclk: vsmp ratio is 3:1 identical to mode 2 plus setreg3: bits 5:4 must be set to 0(hex) identical to mode 2 4 maximum speed monochrome/ colour line-by-line no 12msps identical to mode 2 mclk max = 24mhz mclk: vsmp ratio is 2:1 cds not possible setreg1: c5(hex) table 6 wm8213 legacy operating modes notes: 1. in monochrome mode, setreg3 bits 7:6 determine which input is to be sampled. 2. for colour line-by-line, set control bit linebyline. for input selection, refer to table 4, colour selection description in line-by-line mode.
wm8213 production data w pd rev 4.1 july 2008 28 legacy mode timing diagrams the following diagrams show 8-bit multiplexed output data and mclk, vsmp and input video requirements for operation of the most commonly used modes as shown in table 6. the diagrams are identical for both cds and non-cds operation. outputs from rinp, ginp and binp are shown as r, g and b respectively. x denotes invalid data. figure 21 mode 1 operation figure 22 mode 2 operation
production data wm8213 w pd rev 4.1 july 2008 29 figure 23 mode 3 operation figure 24 mode 4 operation
wm8213 production data w pd rev 4.1 july 2008 30 device configuration register map the following table describes the location of each control bit used to determine the operation of the wm8213. bit address description def (hex) r w b7 b6 b5 b4 b3 b2 b1 b0 000001 (01h) setup reg 1 03 rw legacy mode4leg pgafs[1] pgafs[0] twochan mono cds en 000010 (02h) setup reg 2 20 rw del[1] del[0] rlcdacrng lowrefs opd invop opform[1] opform[0] 000011 (03h) setup reg 3 1f rw chan[1] chan[0] cdsref [1] cdsref [0] rlcdac[3] rlcdac[2] rlcdac[1] rlcdac[0] 000100 (04h) software reset 00 w 000101 (05h) auto-cycle reset 00 w 000110 (06h) setup reg 4 00 rw 0 0 0 0 intm[1] intm[0] acyc linebyline 000111 (07h) setup reg 5 00 rw 0 vrxpd adcrefpd vrlcdacpd adcpd blupd grnpd redpd 001000 (08h) setup reg 6 20 rw 0 clampctrl rlcen posnneg vdel[2] vdel[1] vdel[0] vsmpdet 001001 (09h) reserved 00 rw 0 0 0 0 0 0 0 0 001010 (0ah) reserved 00 rw 0 0 0 0 0 0 0 0 001011 (0bh) reserved 00 rw 0 0 0 0 0 0 0 0 001100 (0ch) reserved 00 rw 0 0 0 0 0 0 0 0 100000 (20h) dac value (red) 80 rw dacr[7] dacr[6] dacr[5] dacr[4] dacr[3] dacr[2] dacr[1] dacr[0] 100001 (21h) dac value (green) 80 rw dacg[7] dacg[6] dacg[5] dacg[4] dacg[3] dacg[2] dacg[1] dacg[0] 100010 (22h) dac value (blue) 80 rw dacb[7] dacb[6] dacb[5] dacb[4] dacb[3] dacb[2] dacb[1] dacb[0] 100011 (23h) dac value (rgb) - w dacrgb[7] dacrgb[6] dacrgb[5] dacrgb[4] dacrgb[3] dacrgb[2] dacrgb[1] dacrgb[0] 100100 (24h) pga gain lsb (red) 00 rw 0 0 0 0 0 0 0 pgar[0] 100101 (25h) pga gain lsb (green) 00 rw 0 0 0 0 0 0 0 pgag[0] 100110 (26h) pga gain lsb (blue) 00 rw 0 0 0 0 0 0 0 pgab[0] 100111 (27h) pga gain lsb (rgb) - w 0 0 0 0 0 0 0 pgargb[0] 101000 (28h) pga gain msbs (red) 0c rw pgar[8] pgar[7] pgar[6] pgar[5] pgar[4] pgar[3] pgar[2] pgar[1] 101001 (29h) pga gain msbs (green) 0c rw pgag[8] pgag[7] pgag[6] pgag [5] pgag[4] pgag[3] pgag[2] pgag[1] 101010 (2ah) pga gain msbs (blue) 0c rw pgab[8] pgab[7] pgab[6] pgab[5] pgab[4] pgab[3] pgab[2] pgab[1] 101011 (2bh) pga gain msbs (rgb) - w pgargb[8] pgargb[7] pgargb[6] pgargb[5] pgargb[4] pgargb[3] pgargb[2] pgargb[1] table 7 register map
production data wm8213 w pd rev 4.1 july 2008 31 register map description the following table describes the function of each of the control bits shown in table 7. address register bit no bit name(s) default description 0 en 1 global enable 0 = complete power down, 1 = fully active (individual blocks can be disabled using individual power down bits ? see setup register 5). 1 cds 1 select correlated double sampling mode: 0 = single ended mode, 1 = cds mode. 2 mono 0 sampling mode select (see table 5 for further details): 0 = other mode (2 or 3-channel) 1 = monochrome (1-channel) mode. input channel selected by chan[1:0] register bits, unused channels are powered down. 3 twochan 0 sampling mode select (see table 5 for further details): 0 = other mode (1 or 3-channel) 1 = 2-channel mode. inputs channels are red and green, blue channel is powered down. 5:4 pgafs[1:0] 00 offsets pga output to optimise the adc range for different polarity sensor output signals. zero differential pga input signal gives: 0x = zero output from the pga (output code=32767) 10 = full-scale positive output (op=65535) - use for negative going video. nb, set invop=1 if zero differential input should give a zero output code with negative going video. 11 = full-scale negative output (op=0) - use for positive going video 6 mode4leg 0 this bit has no effect when legacy=0. set this bit when operating in legacy mode4: 0 = other modes, 1 = legacy mode4. 000001 (01h) setup register 1 7 legacy 0 makes the wm8213 timing compatible with the wm819x and wm815x afe families. 0 = normal timing 1 = enable legacy timing. requires double rate mclk and pixel rate vsmp input. rsmp pin performs same function as rlc/acyc pin on wm819x devices.
wm8213 production data w pd rev 4.1 july 2008 32 address register bit no bit name(s) default description 1:0 opform[1:0] 0 determines the output data format. x0 = 8-bit multiplexed (8+8 bits) 01 = 8-bit parallel (8-msbs only) 11 = 4-bit multiplexed mode (4+4+4+4 bits). this mode is only valid when legacy=1. 2 invop 0 digitally inverts the polarity of output data. 0 = negative going video gives negative going output, 1 = negative-going video gives positive going output data. output disable. this works with the oeb pin to control the output pins. 0=digital outputs enabled, 1=digital outputs high impedance oeb (pin) opd op pins 0 0 enabled 0 1 high impedance 1 0 high impedance 3 opd 0 1 1 high impedance 4 lowrefs 0 reduces the adc reference range (2*[vrt-vrb]), thus changing the max/min input voltages. 0= adc reference range = 2.0v 1= adc reference range = 1.2v 5 rlcdacrng 1 sets the output range of the rlcdac. 0 = rlcdac ranges from 0 to avdd (approximately), 1 = rlcdac ranges from 0 to vrt (approximately). controls the latency from sample to data appearing on output pins latency del legacy=0 all timing modes legacy=1 timing modes 1-2,4-6 legacy =1 timing mode 3 00 7 mclk periods 16.5 mclk periods 23.5 mclk periods 01 8 mclk periods 18.5 mclk periods 26.5 mclk periods 10 9 mclk periods 20.5 mclk periods 29.5 mclk periods 000010 (02h) setup register 2 7:6 del[1:0] 00 11 10 mclk periods 22.5 mclk periods 31.5 mclk periods
production data wm8213 w pd rev 4.1 july 2008 33 address register bit no bit name(s) default description 3:0 rlcdac[3:0] 1111 controls rlcdac driving vrlc/vbias pin to define single ended signal reference voltage or reset level clamp voltage. see electrical characteristics section for ranges. 5:4 cdsref[1:0] 01 when legacy=0 these register bits have no effect. cds mode reset timing adjust. 00 = advance reset sample by 1 mclk period (relative to default). 01 = default reset sample position. 10 = delay reset sample by 1 mclk period (relative to default) 11 = delay reset sample by 2 mclk periods (relative to default) when mono=0 these register bits have no effect monochrome mode channel select. 000011 (03h) setup register 3 7:6 chan[1:0] 00 00 = red channel select 01 = green channel select 10 = blue channel select 11 = reserved 000100 (04h) software reset any write to software reset causes all cells to be reset. it is recommended that a software reset be performed after a power- up before any other register writes. 000101 (05h) auto-cycle reset any write to auto-cycle reset causes the auto-cycle counter to reset to rinp. this function is only required when lin ebyline = 1. 0 linebyline 0 selects line by line operation. line by line operation is intended for use with systems which operate one line at a time but with up to three colours shared on that one output. 0 = normal operation, 1 = line by line operation. when line by line operation is selected mono is forced to 1 and chan[1:0] to 00 internally, ensuring that the correct internal timing signals are produced. green and blue pgas are also disabled to save power. 1 acyc 0 when linebyline = 0 this bit has no effect. when linebyline = 1 this bit determines the function of the rsmp input pin and the offset/gain register controls. 0 = rsmp pin enabled for either reset sampling (cds) or reset level clamp control. internal selection of gain/offset multiplexers using intm[1:0] register bits. 1 = auto-cycling enabled by pulsing the rsmp input pin. this means that each time a pulse is applied to this pin the single input channel will switch to the next offset register and gain register in the sequence. the sequence is red->green->blue->red? offset and gain registers applied to the red input channel. when auto-cycling is enabled, the rsmp pin cannot be used to control reset level clamping. the clmpctrl bit may be used instead (enabled when high, disabled when low). nb, when auto-cycling is enabled, the rsmp pin cannot be used for reset sampling (i.e. cds must be set to 0). 3:2 intm[1:0] 00 when linebyline=0 or acyc=1 this bit has no effect. when linebyline=1 and acyc=0: controls the pga/offset mux selector: 00 = red pga/offset registers applied to input channel 01 = green pga/offset registers applied to input channel 10 = blue pga/offset registers applied to input channel 11 = reserved. 000110 (06h) setup register 4 7:4 reserved 0000 must be set to 0
wm8213 production data w pd rev 4.1 july 2008 34 address register bit no bit name(s) default description 0 redpd 0 when set powers down red s/h, pga 1 grnpd 0 when set powers down green s/h, pga 2 blupd 0 when set powers down blue s/h, pga 3 adcpd 0 when set powers down adc. allows reduced power consumption without powering down the references which have a long time constant when switching on/off due to the external decoupling capacitors. 4 vrlcdacpd 0 when set powers down 4-bit rlcdac, setting the output to a high impedance state and allowing an external reference to be driven in on the vrlc/vbias pin. 5 adcrefpd 0 when set disables vrt, vrb buffers to allow external references to be used. 6 vrxpd 0 when set disables vrx buffer to allow an external reference to be used. 000111 (07h) setup register 5 7 reserved 0 must be set to 0 0 vsmpdet 0 when legacy=0 this register bit has no effect. when legacy=1: 0 = normal operation, signal on vsmp input pin is applied directly to timing control block. 1 = programmable vsmp detect circuit is enabled. an internal synchronisation pulse is generated from signal applied to vsmp input pin and is applied to timing control block in place of vsmp. 3:1 vdel[2:0] 000 when legacy=0 or vsmpdet=0 these bits have no effect. the vdel bits set a programmable delay from the detected edge of the signal applied to the vsmp pin. the internally generated pulse is delayed by vdel mclk periods from the detected edge. see figure 20, internal vsmp pulses generated for details. 4 posnneg 0 when legacy=0 or vsmpdet=0 this bit has no effect. when legacy=1 and vsmpdet=1 this bit controls whether positive or negative edges on the vsmp input pin are detected: 0 = negative edge on vsmp pin is detected and used to generate internal timing pulse. 1 = positive edge on vsmp pin is detected and used to generate internal timing pulse. see figure 20 for further details. 5 rlcen 1 reset level clamp enable. when set reset level clamping is enabled. the method of clamping is determined by clampctrl and legacy. in legacy mode clamping will still occur on every pixel at a time defined by the cdsref[1:0] bits. 6 clampctrl 0 this bit has no effect if legacy=1. see table 2 for more information. 0 = rlc switch is controlled directly from rsmp input pin: rsmp = 0: switch is open rmsp = 1: switch is closed 1 = rlc switch is controlled by logical combination of rsmp and vsmp. rsmp && vsmp = 0: switch is open rsmp && vsmp = 1: switch is closed 001000 (08h) setup register 6 7 reserved 0 must be set to 0
production data wm8213 w pd rev 4.1 july 2008 35 address register bit no bit name(s) default description 100000 (20h) offset dac (red) 7:0 dacr[7:0] 10000000 red channel 8-bit offset dac value (mv) = 260*(dacr[7:0]- 127.5)/127.5 100001 (21h) offset dac (green) 7:0 dacg[7:0] 10000000 green channel 8-bit offset dac value (mv) = 260*(dacg[7:0]- 127.5)/127.5 100010 (22h) offset dac (blue) 7:0 dacb[7:0] 10000000 blue channel 8-bit offset dac value (mv) = 260*(dacb[7:0]- 127.5)/127.5 100011 (23h) offset dac (rgb) 7:0 dacrgb[7:0] - a write to this register location causes the red, green and blue offset dac registers to be overwritten by the new value 0 pgar[0] 0 this register bit forms the lsb of the red channel pga gain code. pga gain is determined by combining this register bit and the 8 msbs contained in register address 28 hex. 100100 (24h) pga gain lsb (red) 7:1 reserved 0000000 must be set to 0 0 pgag[0] 0 this register bit forms the lsb of the green channel pga gain code. pga gain is determined by combining this register bit and the 8 msbs contained in register address 29 hex. 100101 (25h) pga gain lsb (green) 7:1 reserved 0000000 must be set to 0 0 pgab[0] 0 this register bit forms the lsb of the blue channel pga gain code. pga gain is determined by combining this register bit and the 8 msbs contained in register address 2a hex. 100110 (26h) pga gain lsb (blue) 7:1 reserved 0000000 must be set to 0 0 pgargb[0] - writing a value to this location causes red, green and blue pga lsb gain values to be overwritten by the new value. 100111 (27h) pga gain lsb (rgb) 7:1 reserved 0000000 must be set to 0 101000 (28h) pga gain msbs (red) 7:0 pgar[8:1] 00001100 bits 8 to 1 of red pga gain. combined with red lsb register bit to form complete pga gain code. this determines the gain of the red channel pga according to the equation: red channel pga gain (v/v) = 0.66 + pgar[8:0]x7.34/511 101001 (29h) pga gain msbs (green) 7:0 pgag[8:1] 00001100 bits 8 to 1 of green pga gain. combined with green lsb register bit to form complete pga gain code. this determines the gain of the green channel pga according to the equation: green channel pga gain (v/v) = 0.66 + pgag[8:0]x7.34/511 101010 (2ah) pga gain msbs (blue) 7:0 pgab[8:1] 00001100 bits 8 to 1 of blue pga gain. combined with blue lsb register bit to form complete pga gain code. this determines the gain of the blue channel pga according to the equation: blue channel pga gain (v/v) = 0.66 + pgab[8:0]x7.34/511 101011 (2bh) pga gain msbs(rgb) 7:0 pgargb[8:1] - a write to this register location causes the red, green and blue pga msb gain registers to be overwritten by the new value. table 8 register control bits
wm8213 production data w pd rev 4.1 july 2008 36 applications information recommended external components figure 25 external components diagram recommended external component values component reference suggested value description c1 100nf de-coupling for dvdd1. c2 100nf de-coupling for dvdd2. c3 100nf de-coupling for avdd. c4 10nf high frequency de-coupling between vrt and vrb. c5 1 f low frequency de-coupling between vrt and vrb (non-polarised). c6 100nf de-coupling for vrb. c7 100nf de-coupling for vrx. c8 100nf de-coupling for vrt. c9 100nf de-coupling for vrlc. c10 10 f reservoir capacitor for dvdd1. c11 10 f reservoir capacitor for dvdd2. c12 10 f reservoir capacitor for avdd. table 9 external components descriptions
production data wm8213 w pd rev 4.1 july 2008 37 package dimensions notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. body dimensions do not include mold flash or protrusion, not to exceed 0.20mm. d. meets jedec.95 mo-150, variation = ah. refer to this specification for further details. dm007.e ds: 28 pin ssop (10.2 x 5.3 x 1.75 mm) symbols dimensions (mm) min nom max a ----- ----- 2.0 a 1 0.05 ----- 0.25 a 2 1.65 1.75 1.85 b 0.22 0.30 0.38 c 0.09 ----- 0.25 d 9.90 10.20 10.50 e e 7.40 7.80 8.20 5.00 5.30 5.60 l 0.55 0.75 0.95 a a2 a1 14 1 15 28 e1 e c l gauge plane 0.25 e b d seating plane -c- 0.10 c ref: jedec.95, mo-150 e 1 l 1 1.25 ref 0.65 bsc l 1 0 o 4 o 8 o
wm8213 production data w pd rev 4.1 july 2008 38 important notice wolfson microelectronics plc (?wolfson?) products and services are sold subject to wolfson?s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. wolfson warrants performance of its products to the specifications in effect at the date of shipment. wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. customers should therefore obtain the latest version of relevant information from wolfson to verify that the information is current. testing and other quality control techniques are utilised to the extent wolfson deems necessary to support its warranty. specific testing of all parameters of each device is not necessarily performed unless required by law or regulation. in order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. wolfson is not liable for applications assistance or customer product design. the customer is solely responsible for its selection and use of wolfson products. wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a wolfson product. wolfson?s products are not intended for use in life support systems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. any use of products by the customer for such purposes is at the customer?s own risk. wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectual property right of wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. any provision or publication of any third party?s products or services does not constitute wolfson?s approval, licence, warranty or endorsement thereof. any third party trade marks contained in this document belong to the respective third party owner. reproduction of information from wolfson datasheets is permissible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in wolfson?s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person?s own risk. wolfson is not liable for any such representations, warranties or liabilities or for any reliance placed thereon by any person. address: wolfson microelectronics plc westfield house 26 westfield road edinburgh eh11 2qb tel :: +44 (0)131 272 7000 fax :: +44 (0)131 272 7001 email :: sales@wolfsonmicro.com


▲Up To Search▲   

 
Price & Availability of WM8213SCDSRV

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X